.row
  .small-12.columns.top-blank
    table class="projectsort"
      thead
        tr
          th 项目名称
          th 融资状态
          th 创建时间
          th 排序
          th 操作
      tbody
        - @projects.each do |project|
          - info = project.money_requires
          tr 
            td #{project.name}
            td #{format_status(info.status)}
            td #{format_date(project.created_at)}
            td
              form action='/admin/projects/#{project.id}/sort' method='post' id='sortform#{project.id}'
                input type='text' name='sort' value="#{project.sort.to_i}" data-formid='sortform#{project.id}'
            td
              = link_to '进入', project_path(project), target: '_blank'
              = link_to '编辑', edit_project_path(project), target: '_blank'
              button.small.project_destroy data-uri=admin_project_path(project.id) data-confirm="确认删除?" 删除
      tfoot
        tr
          td colspan="5"
            = paginate @projects
